import Command from "./command"
export class GetPoseCommand extends Command {
  constructor() {
    super()
  }
}
GetPoseCommand.id = "GET_POSE"
export class LookAtScreenCoordsCommand extends Command {
  declare payload: any
  constructor(e) {
    super()
    this.payload = e
  }
}
export class MoveDirectionCommand extends Command {
  declare payload: any
  constructor(e) {
    super()
    this.payload = e
  }
}
MoveDirectionCommand.id = "MOVE_DIRECTION"
export class PanCommand extends Command {
  declare payload: { x: number; z: number }
  constructor(e) {
    super()
    this.payload = { x: e.x, z: e.z }
  }
}
PanCommand.id = "PAN"
export class RotateCommand extends Command {
  declare payload: { xAngle: number; yAngle: number; zAngle: number; rotationSpeed: number }
  constructor(e) {
    super()
    this.payload = { xAngle: e.xAngle, yAngle: e.yAngle, zAngle: e.zAngle, rotationSpeed: e.rotationSpeed }
  }
}
RotateCommand.id = "ROTATE"
export class SetOrientationCommand extends RotateCommand {}
export class SetCameraStartCommand extends Command {
  declare payload: { snapshotSid: string }
  constructor(snapshotSid) {
    super()
    this.payload = { snapshotSid }
  }
}
SetCameraStartCommand.id = "SET_CAMERA_START"
export class ResetPitchCommand extends Command {}
